package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user")
public class User {

    // 用户ID
    @Id
    private Integer userId;

    // 用户姓名
    private String userName;

    // 用户手机号
    private Integer phoneNum;
}
